package com.huluobo.lib_http

/**
 *  Created by LC on 2025/2/24.
 */
object Const {
    const val BASE_URL = "http://39.104.238.234:8081"
    const val VIDEO_URL = "http://10.161.9.80:7012"
    const val PARAM_TOKEN = "ferioatoken"

    //在线应用接口
    const val URL_GET_APPS = "/api/sysapp/all"
    const val PARAM_IS_IN = "isIn"

    //文件接口
    const val URL_GET_DOCUMENT = "/api/resource/all"
    const val URL_DELETE_DOCUMENT = "/api/resource/delete"
    const val PARAM_ID = "id"
    const val URL_UPLOAD_DOCUMENT = "/api/file/uploadimg"
    const val PARAM_FILE = "file"

    //日志接口
    const val URL_GET_REPORT = "/api/oaworklog/all"
    const val URL_ADD_REPORT = "/api/oaworklog/save"
    const val PARAM_TITLE = "title"
    const val PARAM_CONTENT = "content"

    //签到接口
    const val URL_GET_SIGN = "/api/clock/page"
    const val PARAM_SIGN_IN = "signIn"
    const val PARAM_SIGN_OUT = "signOut"
    const val URL_ADD_SIGN = "/api/clock/save"
    const val PARAM_SIGN_LAT = "lat"
    const val PARAM_SIGN_LON = "lon"
    const val PARAM_SIGN_TYPE = "type"
    const val PARAM_SIGN_STATUS = "status"
    const val PARAM_SIGN_ADDRESS = "address"
    const val PARAM_PAGE = "page"
    const val PARAM_LIMIT = "limit"

    //登录相关
    const val PARAM_USER_UID = "uid"
    const val PARAM_USERNAME = "username"
    const val PARAM_PASSWORD = "password"
    const val PARAM_ROLE = "role"

    //员工相关
    const val PARAM__ADD_EMPLOYEE_NO = "no"
    const val PARAM__ADD_EMPLOYEE_PHONE = "phone"
    const val PARAM__ADD_EMPLOYEE_DID = "did"
    const val PARAM__ADD_EMPLOYEE_PID = "pid"
    const val PARAM__ADD_EMPLOYEE_P_NAME = "pname"
    const val URL_ADD_EMPLOYEE = "/api/staff/save"

    //网络登录
    const val PARAM_LOGIN_UNAME = "uname"
    const val PARAM_LOGIN_UPASS = "upass"
    const val URL_LOGIN = "/api/user/login"

    //请假相关
    const val PARAM_APPROVE_TYPE = "type"
    const val PARAM_APPROVE_START_TIME = "startTime"
    const val PARAM_APPROVE_END_TIME = "endTime"
    const val PARAM_APPROVE_HOURS = "hours"
    const val PARAM_APPROVE_REASON = "reason"
    const val URL_ADD_APPROVE = "/api/leave/save"
    const val URL_GET_APPROVE = "/api/leave/all?status=1"
    const val URL_GET_APPROVE_PAGE = "/api/leave/page"

    //审批请假
    const val PARAM_SP_ID = "id"
    const val PARAM_SP_STATUS = "status"
    const val PARAM_SP_COM_TIME = "comTime"
    const val PARAM_SP_COM_REASON = "comReason"
    const val URL_SP = "/api/leave/audit"

    //视频相关
    const val URL_GET_VIDEOS = "/video/findVideos"
    const val PARAM_CURRENT_PAGE = "currentPage"
    const val PARAM_PAGE_SIZE = "pageSize"
    const val PARAM_VIDEO = "video"

}